<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Module_Image:  Fichier source de /home/radius/Documents/Rachid_Licence/LIF7/LIF7_TD1/module-image/src/Pixel.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Généré par Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Recherche" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Liste&nbsp;des&nbsp;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&nbsp;de&nbsp;fichier</span></a></li>
    </ul>
  </div>
<h1>/home/radius/Documents/Rachid_Licence/LIF7/LIF7_TD1/module-image/src/Pixel.h</h1><a href="Pixel_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00007"></a>00007 <span class="preprocessor">#ifndef H_PIXEL_H</span>
<a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor">#define H_PIXEL_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span>
<a name="l00010"></a>00010 <span class="comment">/* ********************************************************************* */</span>
<a name="l00011"></a>00011 <span class="comment">/*                                                                       */</span>
<a name="l00012"></a>00012 <span class="comment">/*                        Librairies de Pixel                          */</span>
<a name="l00013"></a>00013 <span class="comment">/*                                                                       */</span>
<a name="l00014"></a>00014 <span class="comment">/* ********************************************************************* */</span>
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &lt;assert.h&gt;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 <span class="comment">/* ********************************************************************* */</span>
<a name="l00021"></a>00021 <span class="comment">/*                                                                       */</span>
<a name="l00022"></a>00022 <span class="comment">/*                        Définitions de type                           */</span>
<a name="l00023"></a>00023 <span class="comment">/*                                                                       */</span>
<a name="l00024"></a>00024 <span class="comment">/* ********************************************************************* */</span>
<a name="l00025"></a>00025 
<a name="l00035"></a><a class="code" href="structsPixel.html">00035</a>     <span class="keyword">struct </span><a class="code" href="structsPixel.html">sPixel</a> {
<a name="l00036"></a>00036 
<a name="l00037"></a>00037         <span class="keywordtype">int</span> r ;
<a name="l00038"></a>00038         <span class="keywordtype">int</span> v ;
<a name="l00039"></a>00039         <span class="keywordtype">int</span> b ;
<a name="l00040"></a>00040     } ;
<a name="l00041"></a>00041 
<a name="l00046"></a><a class="code" href="Pixel_8h.html#a535e59456e3e633842529cfa8ea103c4">00046</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsPixel.html">sPixel</a> <a class="code" href="structPixel.html" title="Structure utilisée pour la gestion d&amp;#39;une image.">Pixel</a> ;
<a name="l00047"></a>00047 
<a name="l00048"></a>00048 <span class="comment">/* ********************************************************************* */</span>
<a name="l00049"></a>00049 <span class="comment">/*                                                                       */</span>
<a name="l00050"></a>00050 <span class="comment">/*                 Fonctions relatives aux images                        */</span>
<a name="l00051"></a>00051 <span class="comment">/*                                                                       */</span>
<a name="l00052"></a>00052 <span class="comment">/* ********************************************************************* */</span>
<a name="l00053"></a>00053 
<a name="l00061"></a>00061 <span class="keywordtype">int</span> getPixelRouge(<span class="keyword">const</span> <a class="code" href="structPixel.html" title="Structure utilisée pour la gestion d&amp;#39;une image.">Pixel</a> *pix) ;
<a name="l00062"></a>00062 
<a name="l00070"></a>00070 <span class="keywordtype">int</span> <a class="code" href="Pixel_8c.html#a6c2af2c126bf976cf1fcae1468751136" title="Récupère la valeur vert du pixel seléctioné en vérifiant sa validité.">getPixelVert</a>(<span class="keyword">const</span> <a class="code" href="structPixel.html" title="Structure utilisée pour la gestion d&amp;#39;une image.">Pixel</a> *pix) ;
<a name="l00071"></a>00071 
<a name="l00079"></a>00079 <span class="keywordtype">int</span> getPixelBleu(<span class="keyword">const</span> <a class="code" href="structPixel.html" title="Structure utilisée pour la gestion d&amp;#39;une image.">Pixel</a> *pix) ;
<a name="l00080"></a>00080 
<a name="l00088"></a>00088 <span class="keywordtype">void</span> setPixelRouge(<a class="code" href="structPixel.html" title="Structure utilisée pour la gestion d&amp;#39;une image.">Pixel</a> *pix, <span class="keywordtype">int</span> valeur) ;
<a name="l00089"></a>00089 
<a name="l00097"></a>00097 <span class="keywordtype">void</span> setPixelVert(<a class="code" href="structPixel.html" title="Structure utilisée pour la gestion d&amp;#39;une image.">Pixel</a> *pix, <span class="keywordtype">int</span> valeur) ;
<a name="l00098"></a>00098 
<a name="l00106"></a>00106 <span class="keywordtype">void</span> setPixelBleu(<a class="code" href="structPixel.html" title="Structure utilisée pour la gestion d&amp;#39;une image.">Pixel</a> *pix, <span class="keywordtype">int</span> valeur) ;
<a name="l00107"></a>00107 
<a name="l00108"></a>00108 
<a name="l00109"></a>00109 <span class="comment">/* ********************************************************************* */</span>
<a name="l00110"></a>00110 <span class="comment">/*                                                                       */</span>
<a name="l00111"></a>00111 <span class="comment">/*                           Test de regression                          */</span>
<a name="l00112"></a>00112 <span class="comment">/*                                                                       */</span>
<a name="l00113"></a>00113 <span class="comment">/* ********************************************************************* */</span>
<a name="l00114"></a>00114 
<a name="l00121"></a>00121 <span class="keywordtype">void</span> ImRegressionTest2() ;
<a name="l00122"></a>00122 
<a name="l00123"></a>00123 
<a name="l00124"></a>00124 <span class="preprocessor">#endif</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Définition de type</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"/><address style="text-align: right;"><small>Généré le Fri Oct 21 19:26:58 2011 pour Module_Image par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
